package com.miaostars.level.command;

import org.bukkit.command.Command;
import org.bukkit.command.CommandExecutor;
import org.bukkit.command.CommandSender;

public class LevelCommand implements CommandExecutor {
    @Override
    public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
        if (args.length > 0 && "reload".equalsIgnoreCase(args[0])) {
            sender.sendMessage("§a配置已重载！");
            return true;
        }
        sender.sendMessage("§e用法: /level reload | stats [玩家]");
        return true;
    }
}